<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%--------------------------------------------------------------------------------------------------------------------
      推荐码管理
      author:king
      createDate:2015-10-13
 ----------------------------------------------------------------------------------------------------------------------%>
<!DOCTYPE html>
<html>
<head>
 
    <%@include file="../common/common.inc" %>
    
    <title>快小递后台管理</title>
    <link href="${basePath}/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="${basePath}/css/plugins/bootgrid/jquery.bootgrid.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
    <input type="hidden" value="${courierNumberSize}" id="courierNumberSize"/>
         <%----------------------------------------------------------  功能扩展区  begin------------------------------------------------------------- --%>
                  <div class="row">
				            <div class="col-sm-12">
				                <div class="ibox float-e-margins">
								
				                    <div class="ibox-title">
				                        <h5>筛选条件<small>&nbsp;</small></h5>
				                        <div class="ibox-tools">
				                            <a class="collapse-link">
				                                <i class="fa fa-chevron-down"></i>
				                            </a>
				                        </div>
				                    </div>
				                    <div class="ibox-content" style="display: none">
				                          <div class="col-sm-12">
					                    	  <span class="col-sm-2">
														<select id="selectList" class="form-control m-b ">
																<option value="-1">==选择筛选条件==</option>
																<option value="2">补发待审核</option>
																<option value="3">补发不通过</option>
																<option value="4">已补发成功</option>
																<option value="5">直接发放</option>
																<option value="6">无结果</option>
																<option value="7">审核通过</option>
																<option value="8">待定</option>
																<option value="0">其他</option>
													</select>											
												</span>
					                    	  <span class="col-sm-2">
														<select id="activeType" class="form-control m-b ">
															<option value="-1">==选择活动类型==</option>
															<option value="1">叫快递领红包</option>
															<option value="2">加收藏领红包</option>
													</select>		
													<input id="reissueQuery" type="hidden" val="">									
												</span>
												
												<span class="col-sm-2">
													<div class="input-group date">
														<span class="input-group-addon">
															<i class="fa fa-calendar"></i>
														</span>
														<input class="form-control" type="text" value=""  id="sendTime" placeholder="发快递时间">
													</div>
												</span>
												
												<span class="col-sm-2">
													<div class="input-group date">
														<span class="input-group-addon">
															<i class="fa fa-calendar"></i>
														</span>
														<input class="form-control" type="text" value=""  id="submitTime" placeholder="提交时间">
													</div>
												</span>
					                    		<span class="col-sm-2"><input type="text" class="form-control"  id="courNickName" placeholder="用户昵称"></span>
					                    		<span class="col-sm-2"><input type="text" class="form-control"  id="courNumber" placeholder="快递单号"></span>
				                    		</div>
				                    		
				                    		<div class="col-sm-12">
					                    		<span class="col-sm-2"><input type="text" class="form-control"  id="courName" placeholder="快递员姓名"></span>
												<span class="col-sm-2"><input type="text" class="form-control"  id="courTel" placeholder="快递员手机"></span>
												<span class="col-sm-2">
														<select id="sendRDStatus" class="form-control m-b ">
																<option value="-1">==选择发放奖励状态==</option>
																<option value="0">均未发放</option>
																<option value="1">快递员未发放</option>
																<option value="2">用户未发放</option>
																<option value="3">已发放</option>>
													</select>											
												</span>
												<span class="col-sm-2"><button class="btn btn-primary"  onclick="activeList();" >查询</button></span>
											</div>
											<button></button>
				                    </div>
				                </div>
				            </div>
		</div>
       <%----------------------------------------------------------  功能扩展区  end------------------------------------------------------------- --%>
    
       <%----------------------------------------------------------  列表  begin------------------------------------------------------------- --%>
            <div class="row">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>活动列表</h5>
                            <div class="ibox-tools" >
                                <a>
                                    <i class="fa fa-gear" style="color: #337ab7;font-size: 18px;" onclick="sendRedPackBatch();">&nbsp;设置</i>
                                </a>
                                <a>
                                    <i class="fa fa-gear" style="color: #337ab7;font-size: 18px;" onclick="showCheckWin();">&nbsp;批量核对</i>
                                </a>
                               <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">
				              <table id="dataList" class="table table-condensed table-hover table-striped" style="box-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);">
				                    <thead>
				                        <tr class="header">
				                            <th data-column-id="id"  data-identifier="true" data-type="numeric">编号</th>
				                            <th data-column-id="submitTime"  data-formatter="submitTime">提交时间</th>
				                            <th data-column-id="senderNickName" >用户昵称</th>
				                            <th data-column-id="expressCode"  data-formatter="expressCode">提交快递单号</th>
				                            <th data-column-id="courierName" >快递员</th>
				                            <th data-column-id="courierPhone" >快递员手机</th>
				                            <th data-column-id="status"  data-formatter="status">快递员状态</th>
				                            <th data-column-id="redPackStatus"  data-formatter="redPackStatus">红包状态</th>
				                            <th data-column-id="todayRedForCourider"  data-formatter="todayRedForCourider">补发审核状态</th>
				                            <th data-column-id="ext1" data-formatter="ext1">备注</th>
				                        </tr>
				                    </thead>
				                </table>
                        </div>
                    </div>
                </div>
            </div>
        <%----------------------------------------------------------  列表  end------------------------------------------------------------- --%>
        
    </div>
    

</body>

</html>

<%-- 表格内容详情 --%>
<%@include file="../common/colPop.jsp" %>
<%-- 设置 --%>
<%@include file="activeManage/setup.jsp"%>
<%-- 状态设置 --%>
<%@include file="activeManage/statusResetPop.jsp" %>
<%-- 添加备注 --%>
<%@include file="activeManage/remarkEditWin.jsp" %>
<%-- 导出数据 --%>
<%@include file="activeManage/exportData.jsp" %>
<%-- 筛选刷单快递员 --%>
<%@include file="activeManage/freshCourier.jsp" %>
<%-- 自动审核窗口 --%>
<%@include file="activeManage/auditPrompt.jsp" %>
<%-- 查询用户操作记录窗口 --%>
<%@include file="activeManage/queryUserLogPop.jsp" %>

 <%--  js 开始--%>   
    <!-- 全局js -->
    <script src="${basePath}/js/bootstrap.mind797.js"></script>
    <!-- Peity -->
    <script src="${basePath}/js/plugins/peity/jquery.peity.min.js"></script>
    <!-- 自定义js -->
    <script src="${basePath}/js/content.mine209.js"></script>
    <script src="${basePath}/js/page/activeManage.js"></script>
    
    <!-- Page-Level Scripts -->
 <%--  js 结束 --%>   